package com.example.content.manager

import android.app.Activity
import com.share.um.ShareHelper
import com.umeng.socialize.shareboard.ShareBoardConfig

/**
 * Created by zhudongao
 * Desc
 * Date 2/27/21
 */
object ShareMgr {

    fun openBottom() {
        ActivityMgr.resumeActivity?.let { ShareHelper.openBottom(it) }
    }

    fun openCenter() {
        ActivityMgr.resumeActivity?.let { ShareHelper.openBottom(it) }
    }

    fun openWithConfig(config: ShareBoardConfig) {
        ActivityMgr.resumeActivity?.let { ShareHelper.openWithConfig(it, config) }
    }
}